<template>
<div class="cards">
  <div class="cards-before">
    <div class="item">
      <span class="iconfont icon-boshimao"></span>
      <router-link to="/index">学习记录</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-gouwudai"></span>
      <router-link to="/flowing">已购</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-gold"></span>
      <router-link to="memory" class="find">付费咨询</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-laba"></span>
      <router-link to="/chart">活动广场</router-link>
    </div>
  </div>
  <div class="cards-after">
    <div class="item">
      <span class="iconfont icon-vallet"></span>
      <router-link to="/me">钱包</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-shequ"></span>
      <router-link to="/me">社区建议</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-qi"></span>
      <router-link to="/me">反馈与帮助</router-link>
    </div>
    <div class="item">
      <span class="iconfont icon-duopingzhongcai"></span>
      <router-link to="/me">众裁议事厅</router-link>
    </div>
  </div>
</div>
</template>

<script>
export default {
name: "Card"
}
</script>

<style scoped>
a {
  text-decoration: none;
  color: #3e3e3e;
}
.router-link-active {
  text-decoration: none;
}


.cards-before {
  z-index: 999;
  opacity:1;
  height: 70px;
  line-height: 50px;
  position: fixed;
  left: 0;
  top: 300px;
  display: flex;
  justify-items: center;
  width: 100%;
}
.cards-before .item{
  flex: 1;
  text-align: center;
  font-size: 16px;
}
.cards-before .item span{
  height: 30px;
}
.cards-before .item .iconfont{
  font-size: 30px;
  display: block;
}


.cards-after {
  z-index: 999;
  opacity:1;
  height: 70px;
  line-height: 50px;
  position: fixed;
  left: 0;
  top: 370px;
  display: flex;
  justify-items: center;
  width: 100%;
}
.cards-after .item{
  flex: 1;
  text-align: center;
  font-size: 16px;
}
.cards-after .item span{
  height: 30px;
}
.cards-after .item .iconfont{
  font-size: 30px;
  display: block;
}
</style>